<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AddTrainingTeacher.ascx.vb" Inherits="WebForm_ManageTrainingTeacher_AddTrainingTeacherl" %>
<asp:FormView ID="fv" runat="server" DefaultMode="Insert" >
    <ItemTemplate>
        <table>
            
            <tr>
                <td align="right">
                    <asp:Label ID="lblTeacherName" runat="server" meta:resourcekey="lblTeacherName"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtTeacherName" runat="server" Text='<%# Bind("TeacherName") %>'></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvTeacherName" runat="server" Display="None" ControlToValidate="txtTeacherName" meta:resourcekey="rfvTeacherName" ValidationGroup="vInsert"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblMobilePhone" runat="server" meta:resourcekey="lblMobilePhone"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtMobilePhone" runat="server" Text='<%# Bind("MobilePhone") %>'></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvMobilePhone" runat="server" Display="None" ControlToValidate="txtMobilePhone" meta:resourcekey="rfvMobilePhone" ValidationGroup="vInsert"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblOtherPhone" runat="server" meta:resourcekey="lblOtherPhone"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtOtherPhone" runat="server" Text='<%# Bind("OtherPhone") %>'></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblAddress" runat="server" meta:resourcekey="lblAddress"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtAddress" runat="server" Text='<%# Bind("Address") %>'></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvAddress" runat="server" Display="None" ControlToValidate="txtAddress" meta:resourcekey="rfvAddress" ValidationGroup="vInsert"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblDescription" runat="server" meta:resourcekey="lblDescription"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtDescription" runat="server" Text='<%# Bind("Description") %>' TextMode="MultiLine" Rows="5" Columns="50"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvDescription" runat="server" Display="None" ControlToValidate="txtDescription" meta:resourcekey="rfvDescription" ValidationGroup="vInsert"></asp:RequiredFieldValidator>
                </td>
            </tr>
            
            <tr>
                <td align="right">
                </td>
                <td align="left">

                    <asp:Button ID="btnSave" runat="server" meta:resourcekey="btnSave" CommandName="btnSave" ValidationGroup="vInsert" />
                    <ajaxToolkit:ConfirmButtonExtender ID="cbSave" runat="server" TargetControlID="btnSave" meta:resourcekey="cbSave"></ajaxToolkit:ConfirmButtonExtender>
                </td>
            </tr>            
        </table>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
            ShowSummary="false" ValidationGroup="vInsert" />
    </ItemTemplate>
</asp:FormView>